﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;

namespace Ors.RInterface.Engine.PInvoke
{
//    /* Every node must start with a set of sxpinfo flags and an attribute
//   field. Under the generational collector these are followed by the
//   fields used to maintain the collector's linked list structures. */
//#define SEXPREC_HEADER \
//    struct sxpinfo_struct sxpinfo; \
//    struct SEXPREC *attrib; \
//    struct SEXPREC *gengc_next_node, *gengc_prev_node
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
    public struct SEXP_HEADER
    {
        public SXPINFO sxpinfo;
        public IntPtr attrib;
        public IntPtr gengc_next_node;
        public IntPtr gengc_prev_node;
    }
    
}
